package chat.user;

import java.util.Date;

public class ChatMsg {

	private UserBean user;
	
	private Date createTime;
	
	private String content;
	
	
	public ChatMsg(UserBean user, String content) {
		this.user = user;
		this.content = content;
		this.createTime = new Date(); 
	}

	public UserBean getUser() {
		return user;
	}

	public void setUser(UserBean user) {
		this.user = user;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	
}
